package com.education.wisdom.service;


import com.education.wisdom.pojo.Concern;

import java.util.List;
import java.util.Map;

/**
 * 关注 服务层
 * 
 * @author ruoyi
 * @date 2018-11-20
 */
public interface IConcernService 
{
	/**
     * 查询关注信息
     * 
     * @param gzConcernid 关注ID
     * @return 关注信息
     */
	public Concern selectConcernById(String gzConcernid);
	
	/**
     * 查询关注列表
     * 
     * @param concern 关注信息
     * @return 关注集合
     */
	public List<Concern> selectConcernList(Concern concern);
	
	/**
     * 新增关注
     * 
     * @param concern 关注信息
     * @return 结果
     */
	public int insertConcern(Concern concern);
	
	/**
     * 修改关注
     * 
     * @param concern 关注信息
     * @return 结果
     */
	public int updateConcern(Concern concern);
		
	/**
     * 删除关注信息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	public int deleteConcernByIds(String ids);

	public List<Concern> selectConcernsList(Map<String, Object> map);

	public int updateConcerns(Map<String, Object> map);

	public Concern selectConcerns(Map<String, Object> map);

	public int selectConcernCount(Map<String, Object> map);

	public Concern selectIsConcerns(Map<String, Object> map);

	public int updateConcernes(Map<String, Object> map);

	public int selectMyCount(Map<String, Object> map);
	
}
